<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<script>
//var obj=new Object();
//obj.aaa=12;
//obj.show=function(){
//	alert(this.aaa)	
//};
//obj.show();

	var obj=new Object();
	obj.name='pansy';
	obj.sex='女';
	obj.showName=function(){
		alert(this.name)	
	};
	obj.showSex=function(){
		alert(this.sex)	
	};
	obj.showName();
	obj.showSex();


	var obj2=new Object();
	obj2.name='da';
	obj2.sex='man';
	obj2.showName=function(){
		alert(this.name)	
	};
	obj2.showSex=function(){
		alert(this.sex)	
	};
	obj2.showName();
	obj2.showSex();






</script>
</body>
</html>
